Repository navigation
fix(i18n): a refused node-bound field write has a localized sentence (#5600) - #5639
Merged
meshweaver-cloud[bot] merged 1 commit intoSep 24, 2026
Merged
Conversation
…5600) Adds ui.fieldWriteRefused (en + de) — the sentence BlazorView.UpdatePointer shows when the owning hub refuses a node-bound field write for lack of Update, instead of the raw English UnauthorizedAccessException in the error modal plus an Error log line. The view half lands in MeshWeaver.Plugins (core catalog first). DataBinding.md states the rule: editability is the producing area's decision (Readonly = !canUpdate); a refusal that still happens is a refusal, not a fault. Refs #5600 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
One or more issues must be addressed before approval.
Review effort: Lite
Findings: None
What changed in this PR
Adds the localized refusal message and documents permission-aware node-bound editing behavior.
Changes:
- Adds English and German
ui.fieldWriteRefusedcatalog entries. - Documents producer-side editability checks and refusal handling.
| File | Description |
|---|---|
| src/MeshWeaver.Messaging.Hub/Localization/strings.en.json | Updated as part of this pull request. |
| src/MeshWeaver.Messaging.Hub/Localization/strings.de.json | Updated as part of this pull request. |
| src/MeshWeaver.Documentation/Data/GUI/DataBinding.md | Updated as part of this pull request. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Core half of #5600: one catalog key,
ui.fieldWriteRefused(en + de), and the rule inDoc/GUI/DataBinding.#5600 reports the course wish books offering editable boxes to anonymous visitors. The save was then refused ("Anonymous lacks Update permission") and logged at Error through
BlazorView.SurfaceError, and the visitor got the raw English exception in the error modal.Two halves:
be03dee1, Education#363).WishBookAreas.Write(EN + DE) foldsGetEffectivePermissions(...).HasFlag(Update)into the structure and setsReadonly = !canWrite.BlazorView.UpdatePointer(Plugins) will show this sentence throughSurfaceRefusal(Warning), notSurfaceError(Error + raw exception). The catalog key lands in core first.Verification
LocalizationTest: 60/60 passed locally (en/de completeness, no orphans).dotnet build -c Release -warnaserroronMeshWeaver.Messaging.Hub: 0 warnings, 0 errors.Pairs-with: none — adds a key, removes nothing
Mirror-sync: tracked on #5600 —
npm run sync:i18n -- --ref <merged core sha>in MeshWeaver.Plugins after this merges; the Plugins PR for the view half followsRefs #5600
🤖 Generated with Claude Code